package com.aric.springbootmusic.entity.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EditRoleParam {
    @NotNull(message = "id不为空")
    private Integer id;
    @NotBlank(message = "角色名不能为空!")
    private String roleName;
    @NotBlank(message = "角色描述不能为空!")
    private String roleDesc;
}
